package edu.ustb.aop;

public class HelloServiceImpl implements HelloService,ByeService {

	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public void sayHello() {
		System.out.println("Hello: "+ name);
	}

	@Override
	public void sayBye() {
		int i = 10/0;
		System.out.println("Bye "+name);
	}

}
